package com.xingkeduo.pojo.table;

import com.xingkeduo.util.pojo.base.BaseTable;
import com.xingkeduo.util.pojo.enums.YesNoEnum;
import org.apache.ibatis.type.Alias;

import java.math.BigDecimal;

/**
 * 发型师服务表
 *
 * @author gaozifeng
 * @time 2019年2月18日17:45:29
 * @description
 */
@Alias("CraftsmanService")  //别名 和.xml里面一样  mybatis.xml里面 新增表 需要新建对应
public class CraftsmanServiceTO extends BaseTable<CraftsmanServiceTO> {

    private long craftsmanId;

    private long shopId;

    private long serviceId;

    private YesNoEnum status;

    private BigDecimal prices;

    public YesNoEnum getStatus() {
        return status;
    }

    public CraftsmanServiceTO setStuatus(YesNoEnum status) {
        this.status = status;
        return this;
    }

    public long getShopId() {
        return shopId;
    }

    public CraftsmanServiceTO setShopId(long shopId) {
        this.shopId = shopId;
        return this;
    }

    public BigDecimal getPrices() {
        return prices;
    }

    public CraftsmanServiceTO setPrices(BigDecimal prices) {
        this.prices = prices;
        return this;
    }

    public long getCraftsmanId() {
        return craftsmanId;
    }

    public CraftsmanServiceTO setCraftsmanId(long craftsmanId) {
        this.craftsmanId = craftsmanId;
        return this;
    }

    public long getServiceId() {
        return serviceId;
    }

    public CraftsmanServiceTO setServiceId(long serviceId) {
        this.serviceId = serviceId;
        return this;
    }

    @Override
    public String toString() {
        return "CraftsmanServiceTO{" +
                "craftsmanId=" + craftsmanId +
                ", shopId=" + shopId +
                ", serviceId=" + serviceId +
                ", status=" + status +
                ", prices=" + prices +
                '}';
    }
}
